package uk.org.fuzelogik.eldaw.wicket.component;

import org.apache.wicket.WicketRuntimeException;

import uk.org.fuzelogik.eldaw.wicket.AuthenticatedWebSession;
import uk.org.fuzelogik.eldaw.wicket.IAuthenticatedSession;


/**
 * Thrown if an ELDAW component was used, but the application's session class
 * doesn't implement {@link IAuthenticatedSession}.
 * 
 * @see AuthenticatedWebSession
 * @author cgdavies
 */
public class IncompatibleSessionException extends WicketRuntimeException
{
	public IncompatibleSessionException()
	{
		super( "Session class must implement "
			+ IAuthenticatedSession.class.getName() );
	}
}
